﻿
Partial Class Public_ManageTrainingCourse
    Inherits System.Web.UI.Page

    Protected Sub Page_PreInit(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.PreInit
        If clsAuth.GetUserID() <> "" Then
            Me.MasterPageFile = "~\WebForm\MasterPage.master"
        End If

        Me.Master.SiteMapProvider = SiteMap.Providers("PublicSiteMapProvider")


    End Sub

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        If Not Me.IsPostBack Then
            Me.SearchAllTrainingCourse1.Year = Me.AnnualControl1.Anaual
            Me.SearchAllTrainingCourse1.BindGV()
        End If
    End Sub

    Protected Sub btnSelect_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnSelect.Click
        Me.SearchAllTrainingCourse1.Year = Me.AnnualControl1.Anaual
        Me.SearchAllTrainingCourse1.BindGV()
    End Sub
End Class
